package com.yyou.chat_gpt.service;

import com.yyou.chat_gpt.entity.ChatHistoryInfo;
import com.yyou.chat_gpt.entity.UserInfo;

import java.util.List;

/**
 * @ClassName ChatHistoryService
 * @Author ZengRJ
 * @Date 2023/7/30 14:34
 * @Version 1.0
 */
public interface ChatHistoryService {
    int insertChatHistory(ChatHistoryInfo chatHistoryInfo);

    List<ChatHistoryInfo> getChatHistoryList(UserInfo userInfo);

    int clearChatHistory(UserInfo userInfo);
}
